package com.lyhw.model;

import java.io.Serializable;

/**
 * Created by phk on 15-5-7.
 */
public class Type implements Serializable {

    private String typeid;						//分类id
    private String typename;					//分类名字
    private String ptypeid;						//父分类id
    private int classification=2;					//文章2，商品1

    public Type() {
    }

    public Type(String typename) {
        this.typename = typename;
    }

    private String ptypeName;//父分类名

    public String getPtypeName() {
        return ptypeName;
    }

    public void setPtypeName(String ptypeName) {
        this.ptypeName = ptypeName;
    }

    public String getTypeid() {
        return typeid;
    }

    public void setTypeid(String typeid) {
        this.typeid = typeid;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public String getPtypeid() {
        return ptypeid;
    }

    public void setPtypeid(String ptypeid) {
        this.ptypeid = ptypeid;
    }

    public int getClassification() {
        return classification;
    }

    public void setClassification(int classification) {
        this.classification = classification;
    }
}